namespace CSharpPro._1021;

public class Demo
{
    public void Testprints()
    {
        
    }
    public int Compare(int a, int b, int c)
    {
        if (a > b && a > c)
        {
            return a;
        }
        else if (b > a && b > c)
        {
            return b;
        }
        else if (c > a && c > b)
        {
            return c;
        }

        return 0;
    }
}